Data collection from medical files